package com.ruoyi.cinema.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 排期优惠对象 schedule_promo
 *
 * @author HHAOYU
 * @date 2020-12-13
 */
@TableName("schedule_promo")
public class SchedulePromo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;
    /** 排期ID */
    @Excel(name = "排期ID")
    private String scheduleId;
    /** 优惠名称 */
    @Excel(name = "优惠名称")
    private String promoDesc;
    /** 优惠类型 */
    @Excel(name = "优惠类型")
    private String promoType;
    /** 优惠编码 */
    @Excel(name = "优惠编码")
    private String promoCode;
    /** 优惠标签 */
    @Excel(name = "优惠标签")
    private String promoTag;

    private Long canJoinAmount;

    private Long canJoinCount;

    private List<SchedulePromoArea> schedulePromoAreaList;

    private List<SchedulePromoCardInfo> schedulePromoCardInfoList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setScheduleId(String scheduleId)
    {
        this.scheduleId = scheduleId;
    }

    public String getScheduleId()
    {
        return scheduleId;
    }
    public void setPromoDesc(String promoDesc)
    {
        this.promoDesc = promoDesc;
    }

    public String getPromoDesc()
    {
        return promoDesc;
    }
    public void setPromoType(String promoType)
    {
        this.promoType = promoType;
    }

    public String getPromoType()
    {
        return promoType;
    }
    public void setPromoCode(String promoCode)
    {
        this.promoCode = promoCode;
    }

    public String getPromoCode()
    {
        return promoCode;
    }
    public void setPromoTag(String promoTag)
    {
        this.promoTag = promoTag;
    }

    public String getPromoTag()
    {
        return promoTag;
    }

    public List<SchedulePromoArea> getSchedulePromoAreaList() {
        return schedulePromoAreaList;
    }

    public void setSchedulePromoAreaList(List<SchedulePromoArea> schedulePromoAreaList) {
        this.schedulePromoAreaList = schedulePromoAreaList;
    }

    public List<SchedulePromoCardInfo> getSchedulePromoCardInfoList() {
        return schedulePromoCardInfoList;
    }

    public void setSchedulePromoCardInfoList(List<SchedulePromoCardInfo> schedulePromoCardInfoList) {
        this.schedulePromoCardInfoList = schedulePromoCardInfoList;
    }

    public Long getCanJoinAmount() {
        return canJoinAmount;
    }

    public void setCanJoinAmount(Long canJoinAmount) {
        this.canJoinAmount = canJoinAmount;
    }

    public Long getCanJoinCount() {
        return canJoinCount;
    }

    public void setCanJoinCount(Long canJoinCount) {
        this.canJoinCount = canJoinCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("scheduleId", getScheduleId())
            .append("promoDesc", getPromoDesc())
            .append("promoType", getPromoType())
            .append("promoCode", getPromoCode())
            .append("promoTag", getPromoTag())
            .toString();
    }
}
